// -----------------------------
// Author: 		Dhaenens Gert 
// Creation: 	10/9/2014 6:31:02 PM				
// -----------------------------

#ifndef _Timer_h
#define _Timer_h

#include "Common.h"

class Timer
{
public:
	Timer();
	~Timer();

	void		Reset();
	void		Update();

	Float		GetElapsedTime() const;
	Float		GetDeltaTime() const;

private:

	UInt64		m_Frequency;
	UInt64		m_StartTime;
	UInt64		m_LastTime;
	UInt64		m_ThisTime;

	Timer(const Timer& refTimer);
	Timer& operator=(const Timer& refTimer);
};

#endif